<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>登录</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <script type="text/javascript" th:src="@{/js/jquery.min.js}"></script>
    <link rel="stylesheet" type="text/css" th:href="@{/bootstrap/css/bootstrap.min.css}"/>
    <script type="text/javascript" th:src="@{/bootstrap/js/bootstrap.min.js}"></script>
    <script type="text/javascript" th:src="@{/jquery-validation/jquery.validate.min.js}"></script>
    <script type="text/javascript" th:src="@{/jquery-validation/localization/messages_zh.min.js}"></script>
    <script type="text/javascript" th:src="@{/layer/layer.js}"></script>
    <script type="text/javascript" th:src="@{/js/md5.min.js}"></script>
    <script type="text/javascript" th:src="@{/js/common.js}"></script>

    <style type="text/css">
        html, body {
            height: 100%;
            width: 100%;
        }

        body {
            /*background: url('/img/bg.jpg') no-repeat;*/
            background: #effae7;
            background-size: 100% 100%;
            padding-top: 100px;
        }

        form {
            background: rgba(255,255,255,0.8);
            border-radius: 20px;
            text-align: center;
            margin: 50px auto;
            padding: 10px 20px 40px 20px;
        }
    </style>

</head>
<body>

<form name="loginForm" id="loginForm" action="/manager/login" method="get" style="width:30%">
    <h2 style="text-align:center; margin-bottom: 20px">用户登录</h2>
    <div class="form-group">
        <div class="row">
            <label class="form-label col-md-4">请输入用户名</label>
            <div class="col-md-8">
                <input id="username" name="username" class="form-control" type="text" placeholder="用户名"
                       required="true"/>
            </div>
            <div class="col-md-1">
            </div>
        </div>
    </div>

    <div class="form-group">
        <div class="row">
            <label class="form-label col-md-4">请输入密码</label>
            <div class="col-md-8">
                <input id="password" name="password" class="form-control" type="password" placeholder="密码"
                       required="true"/>
            </div>
        </div>
    </div>

    <div class="row" style="margin-top:40px;">
        <div class="col-md-6">
            <button class="btn btn-primary btn-block" type="reset" >重置</button>
        </div>
        <div class="col-md-6">
            <button class="btn btn-primary btn-block" type="submit" >登录</button>
        </div>
    </div>

</form>
</body>

</html>